Ext.define('PHT.ErrorKeyWordsCFGHTMLEditor', {
    extend: 'Ext.form.field.HtmlEditor',
    alias: ['widget.errorkeywordscfgeditor'], 
    
    id: 'error-key-words',
    title: 'Please add error key words here use comma split',
    layout:{
    	type:'fit'
    },
    
    initComponent: function() {
        var me = this;
        
        Ext.applyIf(me, {
        	dockedItems: [{
                xtype: 'toolbar',
                dock: 'bottom',
                items: [{
                    //iconCls: 'icon-delete',
                    text: 'Apply',
                    //disabled: true,
                    itemId: 'apply',
                    scope: this,
                    //handler: this.onApplyClick
                },{
                	text: 'Cancel',
                    //disabled: true,
                    itemId: 'cancel',
                    scope: this,
                    //handler: this.onApplyClick
                }]
            }],
        	frame: true,
        });        
        me.callParent(arguments);
    }
});